package com.thingsgrid.application.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2019-08-13
 */
@Accessors(chain = true)
@Data
@TableName("blade_app_api")
@ApiModel(value = "AppApi对象", description = "AppApi对象")
public class AppApi implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.ID_WORKER)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	@JsonSerialize(using = ToStringSerializer.class)
	private Long appId;
	@JsonSerialize(using = ToStringSerializer.class)
	private Long apiId;
	private Date bindTime;


}
